﻿using DiplomaWeb.Models.Validators;
using FluentValidation.Attributes;

namespace DiplomaWeb.Models
{
    [Validator(typeof(ChangePasswordViewModelValidator))]
    public class ChangePasswordViewModel
    {
        public string OldPassword { get; set; }
        public string NewPasswordFirst { get; set; }
        public string NewPasswordSecond { get; set; }

        public bool IsSaved { get; set; }
    }
}